package com.cyt.reward.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.reward.model.po.RewardCashOut;
import com.cyt.reward.model.vo.RewardCashOutVo;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;

/**
 * 打赏功能-提现记录Service层接口类
 *
 * @author rong yuan
 * @date 2019-7-24 17:32:35
 */
public interface RewardCashOutService extends BaseService<RewardCashOut> {

    /**
     * 分页查询
     *
     * @param rewardCashOutVo 接受参数对象
     * @param pageNum         分页数
     * @param pageSize        每页显示条数
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 17:32:35
     */
    ReturnResult page(RewardCashOutVo rewardCashOutVo, int pageNum, int pageSize);

    /**
     * 添加或更新
     *
     * @param rewardCashOutVo 参数接受对象
     * @param sysUser         当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 17:32:35
     */
    ReturnResult addOrUpdate(RewardCashOutVo rewardCashOutVo, SysUser sysUser);
}